package net.toocruel.iqismart.entity.setting;

import net.toocruel.iqismart.entity.base.BaseEntity;

import javax.persistence.Entity;

/**
 * The type Setting.
 */
@Entity
public class SettingCredit extends BaseEntity {
    private static final long serialVersionUID = 7807045872215868829L;
    private Integer adopted = 20;
     private Integer answer = 10;
     private Integer ask = 0;
     private Integer login = 10;
     private Integer register = 20;
     private Integer writeArticle = 0;

    public Integer getAdopted() {
        return adopted;
    }

    public void setAdopted(Integer adopted) {
        this.adopted = adopted;
    }

    public Integer getAnswer() {
        return answer;
    }

    public void setAnswer(Integer answer) {
        this.answer = answer;
    }

    public Integer getAsk() {
        return ask;
    }

    public void setAsk(Integer ask) {
        this.ask = ask;
    }

    public Integer getLogin() {
        return login;
    }

    public void setLogin(Integer login) {
        this.login = login;
    }

    public Integer getRegister() {
        return register;
    }

    public void setRegister(Integer register) {
        this.register = register;
    }

    public Integer getWriteArticle() {
        return writeArticle;
    }

    public void setWriteArticle(Integer writeArticle) {
        this.writeArticle = writeArticle;
    }
}